Changeset 55 in bookmarks for trunk


Ignore:
Timestamp:
08/15/13 21:00:14 (11 years ago)
Author:
peter
Message:

store the digest authentication secret key in the conf.yml file as digest_key

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/app.psgi

    r53 r55  
    2020    enable_if { $_[0]->{REQUEST_METHOD} ne 'GET' } 'Auth::Digest', ( 
    2121        realm           => 'Bookmarks', 
    22         secret          => 'blahblahblah', #TODO: change this! 
     22        secret          => $config->{digest_key}, 
    2323        password_hashed => 1, 
    2424        authenticator   => sub { $config->{digest_password} } 
Note: See TracChangeset for help on using the changeset viewer.