diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-28 00:06:52 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-28 00:06:52 +0200 |
commit | ff2cbc07530d87132af09900b4d0c9ada9d3e716 (patch) | |
tree | a821b80cd89de35c6cc99b256b04975723c4e4dd /app/models | |
parent | c38ad208c361cc77e2fa305a0e929f35363c0fcd (diff) |
Remember me enabled by default
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/user.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 8b2cd22e0..a80efb50d 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -11,8 +11,4 @@ class User < ActiveRecord::Base def admin? self.admin end - - def remember_me - (super == nil) ? '1' : super - end end |