Browse Source

Module set to installable

Odoo don't let signup without password
pull/718/head
vincent 8 years ago
parent
commit
a971eb7526
  1. 4
      auth_signup_verify_email/__manifest__.py
  2. 2
      auth_signup_verify_email/controllers/main.py

4
auth_signup_verify_email/__manifest__.py

@ -4,7 +4,7 @@
{
"name": "Verify email at signup",
"summary": "Force uninvited users to use a good email for signup",
"version": "9.0.1.0.0",
"version": "10.0.1.0.0",
"category": "Authentication",
"website": "http://www.tecnativa.com",
"author": "Antiun Ingeniería S.L., "
@ -12,7 +12,7 @@
"Odoo Community Association (OCA)",
"license": "AGPL-3",
"application": False,
'installable': False,
'installable': True,
"external_dependencies": {
"python": [
"lxml",

2
auth_signup_verify_email/controllers/main.py

@ -34,7 +34,7 @@ class SignupVerifyEmail(AuthSignupHome):
values["email"] = values.get("login")
# Remove password
values["password"] = False
values["password"] = "password"
sudo_users = (http.request.env["res.users"]
.with_context(create_user=True).sudo())

Loading…
Cancel
Save