def singin(): if request.method == "POST": helper.saveUser(data, fileNameCredentials, request.form["name"], request.form["pass"]) return redirect(url_for('success')) else: return render_template('signIn.html')
def singin(): if request.method == 'POST': helper.saveUser(data, fileNameCredential, request.form['name'], request.form['pass']) return redirect(url_for('success')) else: return render_template('signIn.html')