Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F5402084
admin.rb
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Sep 9, 7:43 PM
Size
155 B
Mime Type
text/plain
Expires
Fri, Sep 11, 7:43 PM (1 d, 4 h)
Engine
blob
Format
Raw Data
Handle
410427
Attached To
rARCHIVING archiving
admin.rb
View Options
Warden
::
Strategies
.
add
(
:admin
)
do
def
valid?
params
[
'admin'
]
==
'admin'
end
def
authenticate!
u
=
User
.
admin
.
last
success!
(
u
)
end
end
Event Timeline
Log In to Comment