* Don't use a config file by default. This frees up $HYDRA_CONFIG so
that the user can specify one.
This commit is contained in:
@ -24,6 +24,25 @@ __PACKAGE__->config(
|
||||
default_view => "TT",
|
||||
session => {
|
||||
storage => getHydraPath . "/session_data"
|
||||
},
|
||||
authentication => {
|
||||
default_realm => "dbic",
|
||||
realms => {
|
||||
dbic => {
|
||||
credential => {
|
||||
class => "Password",
|
||||
password_field => "password",
|
||||
password_type => "hashed",
|
||||
password_hash_type => "SHA-1",
|
||||
},
|
||||
store => {
|
||||
class => "DBIx::Class",
|
||||
user_class => "DB::Users",
|
||||
role_relation => "userroles",
|
||||
role_field => "role",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user