The main includes are from the back-end.
parent
5f14a4f6cb
commit
9fd60a2dfa
|
@ -1,23 +0,0 @@
|
||||||
%
|
|
||||||
% Copyright (c) 2024 Andrea Biscuola <a@abiscuola.com>
|
|
||||||
%
|
|
||||||
% Permission to use, copy, modify, and distribute this software for any
|
|
||||||
% purpose with or without fee is hereby granted, provided that the above
|
|
||||||
% copyright notice and this permission notice appear in all copies.
|
|
||||||
%
|
|
||||||
% THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
||||||
% WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
||||||
% MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
||||||
% ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
||||||
% WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
||||||
% ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
||||||
% OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
||||||
%
|
|
||||||
|
|
||||||
-define(APPBUCK, dudeswave).
|
|
||||||
-define(USERSBUCK, dudes).
|
|
||||||
-define(COOKIESBUCK, cookies).
|
|
||||||
-define(RANDBYTES, 32).
|
|
||||||
-define(DEFVALIDITY, 365).
|
|
||||||
-define(DUDENAME, "dudename").
|
|
||||||
-define(DUDEAUTH, "dudeauth").
|
|
|
@ -20,7 +20,7 @@ Dudes authentication module
|
||||||
Here lives all the functions for the APIs needed to handle users authentication.
|
Here lives all the functions for the APIs needed to handle users authentication.
|
||||||
""".
|
""".
|
||||||
|
|
||||||
-include_lib("dudeswave_users/include/defines.hrl").
|
-include_lib("dudeswave_backend/include/defines.hrl").
|
||||||
-include_lib("storage/include/storage.hrl").
|
-include_lib("storage/include/storage.hrl").
|
||||||
|
|
||||||
-export([authenticate/3, logout/2]).
|
-export([authenticate/3, logout/2]).
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
%
|
%
|
||||||
-module(dudeswave_users_user).
|
-module(dudeswave_users_user).
|
||||||
|
|
||||||
-include_lib("dudeswave_users/include/defines.hrl").
|
-include_lib("dudeswave_backend/include/defines.hrl").
|
||||||
-include_lib("storage/include/storage.hrl").
|
-include_lib("storage/include/storage.hrl").
|
||||||
|
|
||||||
-export([details/1, new/3, update/4, delete/1]).
|
-export([details/1, new/3, update/4, delete/1]).
|
||||||
|
|
Loading…
Reference in New Issue