index
:
Ruby-Web-Sessions-Exercise
master
solution
An exercise that demonstrates how to leverage server-side web sessions for authentication
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
app.rb
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'app.rb')
-rw-r--r--
app.rb
2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.rb b/app.rb
index b4630e3..ef95715 100644
--- a/
app.rb
+++ b/
app.rb
@@ -17,7 +17,7 @@ post '/' do
session[:user] = 1
redirect '/'
else
- 'POST works'
+ 'Unrecognized user'
end
end