diff --git a/dudeswave_users/include/defines.hrl b/dudeswave_users/include/defines.hrl deleted file mode 100644 index 48c12ba..0000000 --- a/dudeswave_users/include/defines.hrl +++ /dev/null @@ -1,23 +0,0 @@ -% -% Copyright (c) 2024 Andrea Biscuola -% -% 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"). diff --git a/dudeswave_users/src/dudeswave_users_auth.erl b/dudeswave_users/src/dudeswave_users_auth.erl index 6240fda..da99164 100644 --- a/dudeswave_users/src/dudeswave_users_auth.erl +++ b/dudeswave_users/src/dudeswave_users_auth.erl @@ -20,7 +20,7 @@ Dudes authentication module 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"). -export([authenticate/3, logout/2]). diff --git a/dudeswave_users/src/dudeswave_users_user.erl b/dudeswave_users/src/dudeswave_users_user.erl index eeb6eae..d707cf1 100644 --- a/dudeswave_users/src/dudeswave_users_user.erl +++ b/dudeswave_users/src/dudeswave_users_user.erl @@ -15,7 +15,7 @@ % -module(dudeswave_users_user). --include_lib("dudeswave_users/include/defines.hrl"). +-include_lib("dudeswave_backend/include/defines.hrl"). -include_lib("storage/include/storage.hrl"). -export([details/1, new/3, update/4, delete/1]).