mirror of
https://github.com/processone/ejabberd.git
synced 2024-10-21 15:41:51 +02:00
Improve auth_mnesia:transform
This commit is contained in:
parent
6a659d7475
commit
af9d642a71
@ -277,8 +277,9 @@ transform(#passwd{us = {U, S}, password = Password} = P)
|
|||||||
plain ->
|
plain ->
|
||||||
P
|
P
|
||||||
end;
|
end;
|
||||||
transform(#passwd{password = Password} = P)
|
transform(#passwd{password = {scram, _, _, _, _}} = P) ->
|
||||||
when is_record(Password, scram) ->
|
P;
|
||||||
|
transform(#passwd{password = #scram{}} = P) ->
|
||||||
P.
|
P.
|
||||||
|
|
||||||
import(LServer, [LUser, Password, _TimeStamp]) ->
|
import(LServer, [LUser, Password, _TimeStamp]) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user