1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

don't consider the password "expired" if authentication is passwordless

This commit is contained in:
Sergei Golubchik
2019-02-19 01:03:16 +01:00
parent 1e6210161d
commit a94b20a8e0
3 changed files with 35 additions and 2 deletions

View File

@ -0,0 +1,8 @@
#
# A password cannot expire, if there is no password
#
create user USER identified via unix_socket;
alter user USER password expire;
1
1
drop user USER;