/extremedating/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/extremedating/trunk

« back to all changes in this revision

Viewing changes to adduser.php

  • Committer: Daniel Johansson
  • Date: 2013-04-14 05:12:33 UTC
  • mfrom: (52.1.3 extremedating)
  • Revision ID: maila@danieljohansson.nu-20130414051233-b20jfdvg8xvqxmky
Merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
<head>
27
27
<?php
28
28
include "php/db.php";
 
29
include "php/salt.php";
29
30
if(isset($_POST['hiddenStuff']) && $_POST['hiddenStuff'] == "Something Strange") {
30
 
  $password = sha1($_POST['passwd']."salt");
 
31
  $password = sha1($_POST['passwd'].$pwd_salt);
31
32
  //If there is a $_POST that indicates that the add userscript should be run.
32
33
  $query = "";
33
34
  $output = "";