Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Maria Agustina
/
hgt_transportar
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit afeba991
authored
2025-08-04 11:58:22 -0300
by
Juan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Sin identidad defecto
1 parent
d83fe907
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
controllers/resetart_pass.py
controllers/resetart_pass.py
View file @
afeba99
...
...
@@ -12,16 +12,16 @@ class restablecedor(http.Controller):
@http.route
(
'/lappa/resetearconntrasena'
,
auth
=
'public'
,
type
=
'json'
,
website
=
True
,
csrf
=
False
,
methods
=
[
'POST'
,
'GET'
])
def
index
(
self
,
**
kw
):
#
try:
token
=
self
.
ResetUsuario
(
kw
[
"celular"
])
mensaje
=
"Se envio el codigo por ws"
#
except:
mensaje
=
"Fallo el envio, intente nuevamente en unos minutos o contacte soporte por mail en soporte@hgtsa.com.ar"
try
:
token
=
self
.
ResetUsuario
(
kw
[
"celular"
])
mensaje
=
"Se envio el codigo por ws"
except
:
mensaje
=
"Fallo el envio, intente nuevamente en unos minutos o contacte soporte por mail en soporte@hgtsa.com.ar"
#print(token)
#
try:
usuario
=
token
[
"usuario"
]
#
except:
mensaje
=
"Numero de cellular no pertenece a un usuario activo"
try
:
usuario
=
token
[
"usuario"
]
except
:
mensaje
=
"Numero de cellular no pertenece a un usuario activo"
# return({"token":"token","mensaje":mensaje,"celular":""})
usuario
.
lappa_token_pass
=
token
[
"token"
][
1
]
usuario
.
lappa_token_ws
=
token
[
"token"
][
0
]
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment