diff options
author | Badlop <badlop@process-one.net> | 2011-08-16 00:25:03 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2011-08-16 00:25:03 +0200 |
commit | e80b92b48148505b44c6a378db36badfe60fce79 (patch) | |
tree | f98bd3590dacac66988fb806c06d1147b49aec57 /src/ejabberd_auth_odbc.erl | |
parent | handle case when roster version on DB is enabled but version is not found. (diff) |
Preliminary patch for SASL SCRAM-SHA-1 (thanks to Stephen Röttger)(EJAB-1196)
Diffstat (limited to 'src/ejabberd_auth_odbc.erl')
-rw-r--r-- | src/ejabberd_auth_odbc.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ejabberd_auth_odbc.erl b/src/ejabberd_auth_odbc.erl index 0c4eb65d..60e6b805 100644 --- a/src/ejabberd_auth_odbc.erl +++ b/src/ejabberd_auth_odbc.erl @@ -43,6 +43,7 @@ is_user_exists/2, remove_user/2, remove_user/3, + storage_type/0, plain_password_required/0 ]). @@ -57,6 +58,9 @@ start(_Host) -> plain_password_required() -> false. +storage_type() -> + plain. + %% @spec (User, Server, Password) -> true | false | {error, Error} check_password(User, Server, Password) -> case jlib:nodeprep(User) of |