Rehash credential during authentication if config has change (#234)

This commit is contained in:
Michael Gaffney authored and GitHub committed 2020-07-31 14:42:22 -04:00
1 parent 8f5c364bde
commit 5ceb335466
6 files changed
+209 -5

No files matched your search

@@ -75,6 +75,7 @@ begin;
references auth_password_credential (password_method_id, password_conf_id, password_account_id)
on delete cascade
on update cascade
deferrable initially deferred
);
create trigger
@@ -82,6 +83,11 @@ begin;
before insert on auth_password_argon2_cred
for each row execute procedure insert_auth_password_credential_subtype();
create trigger
update_auth_password_credential_subtype
after update on auth_password_argon2_cred
for each row execute procedure update_auth_password_credential_subtype();
--
-- triggers for time columns
--