mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 05:53:13 +00:00
Fix jquery Validation issue on setup
This commit is contained in:
10
www/include/jslibs/jquery-validation/demo/form.phps
Normal file
10
www/include/jslibs/jquery-validation/demo/form.phps
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
// wait a second to simulate a some latency
|
||||
usleep(500000);
|
||||
$user = $_REQUEST['user'];
|
||||
$pw = $_REQUEST['password'];
|
||||
if($user && $pw && $pw == "foobar")
|
||||
echo "Hi $user, welcome back.";
|
||||
else
|
||||
echo "Your password is wrong (must be foobar).";
|
||||
?>
|
Reference in New Issue
Block a user