From f32497f143ef95264706dba27ce3e7a26d7ba6a4 Mon Sep 17 00:00:00 2001 From: Azul Date: Tue, 26 Jun 2012 18:13:22 +0200 Subject: moved the sample app to it's own subdirectory --- views/index.erb | 50 -------------------------------------------------- views/layout.erb | 27 --------------------------- views/login.erb | 18 ------------------ views/signup.erb | 20 -------------------- 4 files changed, 115 deletions(-) delete mode 100644 views/index.erb delete mode 100644 views/layout.erb delete mode 100644 views/login.erb delete mode 100644 views/signup.erb (limited to 'views') diff --git a/views/index.erb b/views/index.erb deleted file mode 100644 index 48d9f71..0000000 --- a/views/index.erb +++ /dev/null @@ -1,50 +0,0 @@ - -
-
-

1. Signup

-

- First you signup just like normal. Your browser runs a bit of javascript and does not transfer your password but some validator based on it. -

-
-
-

2. Login

-

- Login using the same credentials. Again javascript is used to calculate a random number and a key based on it that the server then uses to validate your password. -

-
-
-

3. Verify

-

- The server logs will tell you your password was not transmitted in clear. Never the less the server can determine wether you were authorized. -

-
-
-
-
- <% if @user.login %> -

You are signed up as <%= @user.login %>.

- <% end %> -
-
- <% if @user.active %> -

You are logged in.

- <% end %> -
-
-
-
-
-
- <%= button_link(:signup, :primary => !@user.login) %> -
-
- <%= button_link(:login, :primary => @user.login && !@user.active) %> -
-
- <%= button_link(:verify, :primary => @user.active) %> -
-
- - - - diff --git a/views/layout.erb b/views/layout.erb deleted file mode 100644 index c68ac23..0000000 --- a/views/layout.erb +++ /dev/null @@ -1,27 +0,0 @@ - - - - - Secure remote password - - - - - -
- -
-
-

Secure Remote Passwords

-

- Secure remote passwords allow you to login with a password that will be unkown to the server and anyone eavesdropping -

-
-
- - <%= yield %> - - - - - diff --git a/views/login.erb b/views/login.erb deleted file mode 100644 index 32a16e5..0000000 --- a/views/login.erb +++ /dev/null @@ -1,18 +0,0 @@ -

2. Login

-
- Login with the user you created. -
- - -
- -
- - -
- -
- - Cancel -
-
diff --git a/views/signup.erb b/views/signup.erb deleted file mode 100644 index 3a949ab..0000000 --- a/views/signup.erb +++ /dev/null @@ -1,20 +0,0 @@ - -

1. Signup

-
- Signup to test secure remote passwords -
- - -
- -
- - -
- -
- - Cancel -
-
- -- cgit v1.2.3