Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

kcraigo/Login-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Use the following SQL to create the demo database tables

CREATE DATABASE accesscontrol;

CREATE TABLE IF NOT EXISTS admin (

username varchar(20) NOT NULL,

password varchar(20) NOT NULL,

realfirstName varchar(20) NOT NULL,

reallastName varchar(20) NOT NULL,

role varchar(20) NOT NULL,

>PRIMARY KEY  (username)

) ENGINE=InnoDB DEFAULT CHARSET=latin1;

INSERT INTO admin (username, password, realfirstName, reallastName, role) VALUES (‘admin’, ‘ a72d11da902a6a63c9702109c9dd3f96’, ‘admin’, ‘admin’, ‘admin’);

INSERT INTO admin (username, password, realfirstName, reallastName, role) VALUES (‘manager’, ‘ a72d11da902a6a63c9702109c9dd3f96’, ‘manager’, ‘manager’, ‘manager’);

INSERT INTO admin (username, password, realfirstName, reallastName, role) VALUES (‘Super’, ‘ a72d11da902a6a63c9702109c9dd3f96’, ‘Super’, ‘Super’, ‘Super’);


Please NOTE:

$password = ‘password’

$salt = “qZPJeZbQv])7fnKxS’U0\2V^Eg.|})+obZ:H6|y.[#EBqo;Evp”

a72d11da902a6a63c9702109c9dd3f96 is the result of MD5($password.$salt)

About

Uses Flex 4.1, RobotLegs, AS3 Signals, Zend_Auth and Zend_Sessions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors