Remember me enabled by default
This commit is contained in:
parent
c38ad208c3
commit
ff2cbc0753
3 changed files with 39 additions and 4 deletions
|
@ -11,8 +11,4 @@ class User < ActiveRecord::Base
|
|||
def admin?
|
||||
self.admin
|
||||
end
|
||||
|
||||
def remember_me
|
||||
(super == nil) ? '1' : super
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue