Rehash credential during authentication if config has change (#234)
This commit is contained in:
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
|
||||
--
|
||||
|
||||
Reference in new issue
Block a user