mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
remove password expire
This commit is contained in:
@@ -70,7 +70,7 @@ const getSqlStatements = (provider: SqlProviders) => {
|
||||
if (provider === SqlProviders.MySql) {
|
||||
return {
|
||||
creationStatement:
|
||||
"CREATE USER \"{{username}}\"@'%' IDENTIFIED BY '{{password}}' PASSWORD EXPIRE;\nGRANT ALL ON \"{{database}}\".* TO \"{{username}}\"@'%';",
|
||||
"CREATE USER \"{{username}}\"@'%' IDENTIFIED BY '{{password}}';\nGRANT ALL ON \"{{database}}\".* TO \"{{username}}\"@'%';",
|
||||
renewStatement: "",
|
||||
revocationStatement:
|
||||
'REVOKE ALL PRIVILEGES ON "{{database}}".* FROM "{{username}}"@\'%\';\nDROP USER "{{username}}"@\'%\';'
|
||||
|
||||
Reference in New Issue
Block a user