Commit 9cc233d0 authored by Lucas Saliés Brum's avatar Lucas Saliés Brum 🖐🏻

Autocommit por GitLab.sh: alterações: add 'index.php' add 'js/script.js'

parent 57312906
......@@ -30,7 +30,8 @@ if (isset($_POST['envio']) && !empty($_POST['envio']) || isset($_SERVER['HTTP_US
$senha = utf8_decode($senha);
echo substr(str_shuffle($senha),0,$tamanho); exit;
echo substr(str_shuffle($senha),0,$tamanho);
exit();
}
?>
<!DOCTYPE html>
......
......@@ -33,6 +33,7 @@ $(function() {
url: $("#formulario").attr('action'),
type: 'post',
data: $("#formulario").serialize(),
dataType: 'text',
success: function(data) {
$("#senha").val(data);
localStorage.setItem('senha', data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment