Commit 39dc8441 authored by bow's avatar bow
Browse files

Move API users password hashing to js script

parent 792e596c
......@@ -18,7 +18,7 @@ var users = [
{
id: "{{ user.id }}",
email: "{{ user.email }}",
hashedPassword: "{{ user.hashed_password }}",
hashedPassword: "{{ user.password|hashpw }}",
activeKey: "{{ user.active_key }}",
verified: {{ user.verified|to_nice_json }},
isAdmin: {{ user.is_admin|to_nice_json }},
......
......@@ -19,7 +19,7 @@ mongodb_sentinel_users:
# The default admin user
- id: dev
email: dev@sentinel.dev
hashed_password: "{{ 'dev'|hashpw }}"
password: dev
active_key: dev
verified: yes
is_admin: yes
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment