X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/3c702b40a1806798e475c48abb456e5a9c2dac72..daf576bd3b87a333563f7d61dbcd6d73a5316713:/lib/SAMURAI/Usuario/consultas.ini?ds=inline diff --git a/lib/SAMURAI/Usuario/consultas.ini b/lib/SAMURAI/Usuario/consultas.ini index 2b146a1..14ec9ed 100644 --- a/lib/SAMURAI/Usuario/consultas.ini +++ b/lib/SAMURAI/Usuario/consultas.ini @@ -10,4 +10,5 @@ obtener_datos_usuario2 = " SELECT DISTINCT u.login as login FROM samurai.usuario obtener_perfiles_usuario = " SELECT id_perfil FROM samurai.perfil_sist_usuario WHERE login = ? AND id_sistema = ?" verificar_login = " SELECT count(*) as cuenta FROM samurai.usuario WHERE login = ?" +verificar_login2 = " SELECT login FROM samurai.perfil_sist_usuario WHERE login = ? AND id_sistema = ?" borrar = " DELETE FROM samurai.perfil_sist_usuario WHERE login = ? AND id_sistema = ?"