meeting-room-booking-system / mrbs-code

MRBS application code
Other
128 stars 64 forks source link

Enable DB Login on WAMP #1494

Open jberanek opened 9 years ago

jberanek commented 9 years ago

Dear Sir/Madam

I'm having difficulty in configuring the login system. My plans will be using DB as my default authentication. I've try to add lines of codes as instructed on the manual, but its not working

I'm using WAMP as my Webserver.

Your help is kindly appreciated

Regards Gerald

Reported by: *anonymous

Original Ticket: mrbs/support-requests/767

jberanek commented 9 years ago

How is it not working? All you need to do is set

$auth['type'] = 'db';

in your config file. Then when you run MRBS click on the user List link in the top right hand corner and create your first user, which will be an admin. Then login with those user details and you can create more users from the User List link.

Original comment by: campbell-m

jberanek commented 9 years ago

Hi,

I created the admin user as you suggested, and create rooms. But now, I want my colleagues to be able to book rooms without having to login. Is that possible?

Regards.

Original comment by: *anonymous

jberanek commented 9 years ago

No, I am afraid it's not possible. However you could create a standard username and password which all your users could use, eg "user" and "pass". I'm not clear though why you would not want your users to login. Would it not leave the system open to possible abuse?

Original comment by: campbell-m

jberanek commented 9 years ago

Hi Campbell,

Thank you for quick response. I did as you suggested (created a public login) Actually, I am planning to use the site on our Intranet only, so security is not #1 priority for me :)

Regards.

Original comment by: *anonymous