aboutsummaryrefslogtreecommitdiff
path: root/include/ejabberd_auth.hrl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-10-25 21:21:52 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-10-25 21:21:52 +0300
commit29462f00538765d4cb90a3d085367c23a95df0d1 (patch)
treece8eb1ec5d640331ee72bb893a8bde8b995a2204 /include/ejabberd_auth.hrl
parentAllow dynamic node options on sql backends (diff)
Make it possible to convert to SQL for any current db_type
It is now possible to run `export` command even when the current `db_type` is not `sql`
Diffstat (limited to 'include/ejabberd_auth.hrl')
-rw-r--r--include/ejabberd_auth.hrl22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/ejabberd_auth.hrl b/include/ejabberd_auth.hrl
new file mode 100644
index 000000000..48fa785e3
--- /dev/null
+++ b/include/ejabberd_auth.hrl
@@ -0,0 +1,22 @@
+%%%----------------------------------------------------------------------
+%%%
+%%% ejabberd, Copyright (C) 2002-2017 ProcessOne
+%%%
+%%% This program is free software; you can redistribute it and/or
+%%% modify it under the terms of the GNU General Public License as
+%%% published by the Free Software Foundation; either version 2 of the
+%%% License, or (at your option) any later version.
+%%%
+%%% This program is distributed in the hope that it will be useful,
+%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
+%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+%%% General Public License for more details.
+%%%
+%%% You should have received a copy of the GNU General Public License along
+%%% with this program; if not, write to the Free Software Foundation, Inc.,
+%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+%%%
+%%%----------------------------------------------------------------------
+
+-record(passwd, {us = {<<"">>, <<"">>} :: {binary(), binary()} | '$1',
+ password = <<"">> :: binary() | scram() | '_'}).