Simple Invoices has an optional login system to allow you to protect your install of Simple Invoices with a username/password system
To enable this login system please follow the below info
If you are using a version of Simple Invoices later than 2007 08 then all you have to do is edit config/config.ini and set authentication.enabled to true
To do this just change the file from
authentication.enabled = false
to
authentication.enabled = true
thats it - you can login using the below details
| Email address | [email protected] |
| Password | demo |
If you are using a version of Simple Invoices later than 2007 08 then all you have to do is edit config/config.php and set $AuthenticationOn to true
To do this just change the file from
//if you want to make Simple Invoices secure and require a username and password set this to true //$authenticationOn = "true"; $authenticationOn = "false";
to
//if you want to make Simple Invoices secure and require a username and password set this to true $authenticationOn = "true"; //$authenticationOn = "false";
thats it - you can login using the belwo details
| Email address | [email protected] |
| Password | demo |
refer: http://www.simpleinvoices.org/forum/topic-post1870.html#post1870 for how to change the login details
Since Simple Invoices version (20061027) there is now an optional Authentification system (ie a login system) for Simple Invoices
to enable this feature open the file ./include/include_auth.php and uncomment the code (refer below)
from
<?php //To turn authentification on uncomment (remove the /* and */) the lines below /* if ($_GET['location'] == 'pdf' ) { include('../include/auth/auth.php'); } else { include('./include/auth/auth.php'); } */ ?>
to this
<?php //To turn authentification on uncomment (remove the /* and */) the lines below if ($_GET['location'] == 'pdf' ) { include('../include/auth/auth.php'); } else { include('./include/auth/auth.php'); } ?>
NOTE: In the July/August 2007 release of Simple Invoices you now longer need to do the above step. You just edit config/config.php and set $AuthenticationOn to true
$AuthenticationOn = "true";
the next step is to create the authenfication table in the table, open phpMyAdmin and execute the following sql
CREATE TABLE si_users ( user_id int(11) NOT NULL AUTO_INCREMENT, user_email VARCHAR(100) NOT NULL, user_name VARCHAR(100) NOT NULL, user_group VARCHAR(10) NOT NULL, user_domain VARCHAR(10) NOT NULL, user_password CHAR(32) NOT NULL, PRIMARY KEY (user_id) ); INSERT INTO si_users (user_id, user_email, user_name, user_group, user_domain, user_password) VALUES ('','[email protected]','guest','1','1', md5('guest')); INSERT INTO si_users (user_id, user_email, user_name, user_group, user_domain, user_password) VALUES ('','[email protected]','demo','1','1', md5('demo')); INSERT INTO si_users (user_id, user_email, user_name, user_group, user_domain, user_password) VALUES ('','[email protected]','admin','1','1', md5('admin')); CREATE TABLE `si_auth_challenges` ( `challenges_key` INT( 11 ) NOT NULL , `challenges_timestamp` TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP );
now when you attempt to use Simple Invoices you'll be presented with a login screen
this is still in the testing phase, there is no nice user admin section in Simple Invoices yet, if you need to change/add/delete user information it must be done directly in the database
re: http://simpleinvoices.org/forum/topic.php?post=1416#post1416 for md5 fix
Links: Frequently Asked Questions | Help
Discussion
Anyone know how to change the username and password? Password is encrypted in DB so a simple DB edit does not work and I don't see any way within the user interface.
Thx
hey kevin
since Simple Invoices 2009.1 you can edit a username and password within Simple Invoices - go to the People tab and select Users
re db - use the mysql MD5(new_password) sql to adjust a users password
cheers
justin
Hai Justin.,
Pls tell me how to rectify that issue.
Thanks in Advance,
hey al
spoke to you on im re this
post how you have gone
cheers
justin
hi Justin, I've the same problem than AlMubarak: 'there is none of detailes for user and viewer in drop down.' How can I create an user account without privileges? So please, can you help me too? ThankYou very much, and very good job with Simpleinvoice!
hey carlos
a user/view account is not yet available in Simple Invoices :(
in the future releases i'll look to add more user types ie. user, customer etc..
cheers
justin