projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Users can now login form the site homepage (previously the front login page
[selectricity]
/
app
/
controllers
/
account_controller.rb
diff --git
a/app/controllers/account_controller.rb
b/app/controllers/account_controller.rb
index 524d743ee0161551cbb97909f26f179e3c93e134..c9388f6f52c542fc7e6081556ccdb5ae661282a8 100644
(file)
--- a/
app/controllers/account_controller.rb
+++ b/
app/controllers/account_controller.rb
@@
-14,6
+14,7
@@
class AccountController < ApplicationController
#these methods provide basic functionality for the user login system
#===================================================================
def login
#these methods provide basic functionality for the user login system
#===================================================================
def login
+
return unless request.post?
self.current_user = User.authenticate(params[:login], params[:password])
if logged_in?
return unless request.post?
self.current_user = User.authenticate(params[:login], params[:password])
if logged_in?
Benjamin Mako Hill
||
Want to submit a patch?