mod_auth using mnesia

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

mod_auth using mnesia

Peter J Etheridge
dear erlangers,
from the user guide we read;

"The mod_auth(3) module provides for basic user authentication using ... Mnesia databases."

how does

mod_auth:add_user/6

manage to

mnesia:write/3

?

i will be grateful for any URL to an example of how this is done.

thank you in advance.
peter
Reply | Threaded
Open this post in threaded view
|

Re: mod_auth using mnesia

Vance Shipley
On Sat, Feb 22, 2020 at 11:59 AM Peter J Etheridge <[hidden email]> wrote:
"The mod_auth(3) module provides for basic user authentication using ... Mnesia databases."

how does

mod_auth:add_user/6

manage to

mnesia:write/3

?

i will be grateful for any URL to an example of how this is done.

install7/3  

add_user/2,4

{inets, [{services, [{httpd, [{directory, {"/", [{auth_type, mnesia},...