/ucengine/src/backends/auth/none/none_auth.erl
Erlang | 28 lines | 7 code | 4 blank | 17 comment | 0 complexity | 9682bf934f8a74c25dbfac9482c2e216 MD5 | raw file
- %%
- %% U.C.Engine - Unified Collaboration Engine
- %% Copyright (C) 2011 af83
- %%
- %% This program is free software: you can redistribute it and/or modify
- %% it under the terms of the GNU Affero General Public License as published by
- %% the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- %%
- %% You should have received a copy of the GNU Affero General Public License
- %% along with this program. If not, see <http://www.gnu.org/licenses/>.
- %%
- -module(none_auth).
- -include("uce.hrl").
- -export([assert/2, check/2]).
- assert(_User, _Credential) ->
- {ok, true}.
- check(_User, _Credential) ->
- {ok, true}.