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

2
auth_signup_verify_email/controllers/main.py

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

Loading…
Cancel
Save