How to delete password on Xiaomi Mi 9 phone

I used the fingerprint to log into my phone but now it needs my pattern that I forgot about it!
My phone is Xiaomi MI9 and I wonder if there is a way to unlock it without erasing the data.

How to unlock iOS 12 with a password, without disabling Touch ID

Is there a way to force a password unlock prompt without disabling Touch ID?

I have gloves with capacitive spikes on the index fingers. I can use them relatively well for navigating the phone once the phone has UI elements on the screen, but I have a lot of trouble displaying the word prompt password. The gloves do not seem to trigger the touch sensor to appear as an unknown fingerprint.

iPhone 6s / iOS 12.4

java – Error sending password recovery email – User or CPF does not exist!

I have the following problem.
I have the possibility of recovering a password to access the system by informing the user and CPF, then by clicking on send, an email will be sent to the client. but when you click send, the system returns that the cpf cannot be found.

this is my login.js


    /**
     * Regerando a senha do usuário
     */
    $(".resetarlogin").click(function () {

        $.ajax({
            url: BASE_URL+ "envioemail/recuperar-senha",
            method:"POST",     
            data:{cpf:$("#cpf").val(),usuarioIu:$("#intCodUsuario").val()},
            beforeSend: ()=>{
                $(".aguarde").show();
            },
            complete: ()=>{
                $(".aguarde").hide();           
            },
            error: (XMLHttpRequest, textStatus, errorThrown)=>{
                $(".alert-danger").removeClass('hidden');      
                $(".alert-success").addClass('hidden');
                $(".mensagemErro").html("Usuário ou CPF não existe !");
            },
            success: (retorno)=>{
                $(".strMensagem").html(retorno);  
                $(".alert-danger").addClass('hidden');
                $(".alert-success").removeClass('hidden');         
            }
        });

    }); 

and here is my controller

@PostMapping("/recuperar-senha")
   public ResponseEntity recuperarSenha(UsuarioPortaDTO updto) throws Exception, EnvioEmailException{
       try {
           T001UsuarioPortal t001UsuarioPortal = null;
           try {
               String cpf = updto.getCpf();
               t001UsuarioPortal = usuarioLoginService.obterUsuarioPorIdCpf(updto.getUsuarioIu().intValue(), cpf);    
           } catch (Exception e) {
               throw new EnvioEmailException("Usuário ou Cpf não cadastrado!");
           }
           T011ParametrosConfEmail confEmail = confgEmailService.retornarParametrosConfEmail();
           HtmlEmail email = confgEmailService.getEmail();
           email.addTo(t001UsuarioPortal.getEmail());
           email.setFrom(confEmail.getEmail());
           email.setSubject("Recuperar Senha Portal Informata.");
           email.setDebug(true);
           Date d = new Date();
           String token = HashImdlog.md5(updto.getUsuarioIu()+"https://pt.stackoverflow.com/"+d.toString());
           t001UsuarioPortal.setTokenRecuperaSenha(token);
           usuarioLoginService.salvarUsuario(t001UsuarioPortal);
           byte() encodedBytes = Base64.getEncoder().encode(updto.getUsuarioIu().toString().getBytes());
           String emailRecuperarSenha = UtilEmail.emailRecuperarSenha(this.baseUrl+"alterar-senha/"+new String(encodedBytes),token);
           email.setContent(emailRecuperarSenha, "text/html");
           email.send();
       } catch (Exception e) {
           return new ResponseEntity<>(e.getLocalizedMessage(), HttpStatus.INTERNAL_SERVER_ERROR);
       } catch (EnvioEmailException e) {
           return new ResponseEntity<>(e.getMessage(), HttpStatus.BAD_REQUEST);
       }
       return new ResponseEntity<>("E-mail de recuperação enviado com sucesso.", HttpStatus.OK);
   }

}

javascript – Regex for password must contain at least eight characters, at least one number and lower and upper case letters and special characters

I would answer Peter Mortensen, but I don't have enough reputation.

Its expressions are perfect for each of the minimum requirements specified. The problem with its expressions that don't require special characters is that they don't allow special characters either, so they also impose maximum requirements, which I don't believe the OP asked. Normally, you want to allow your users to make their password as strong as they want; why restrict strong passwords?

Thus, its expression "at least eight characters, at least one letter and one number":

^(?=.*(A-Za-z))(?=.*d)(A-Za-zd){8,}$

meets minimum requirement, but remaining characters may only be letters and numbers. To allow (but not require) special characters, you should use something like:

^(?=.*(A-Za-z))(?=.*d).{8,}$ to allow all characters

or

^(?=.*(A-Za-z))(?=.*d)(A-Za-zd$@$!%*#?&){8,}$ to allow specific special characters

Likewise, "at least eight characters, at least one uppercase letter, one lowercase letter and one number:"

^(?=.*(a-z))(?=.*(A-Z))(?=.*d)(a-zA-Zd){8,}$

meets this minimum requirement but only authorizes letters and numbers. Use:

^(?=.*(a-z))(?=.*(A-Z))(?=.*d).{8,}$ to allow all characters

or

^(?=.*(a-z))(?=.*(A-Z))(?=.*d)(A-Za-zd$@$!%*?&){8,} to allow specific special characters.

mobile – Should I keep my password change section in the profile change section or settings?

I have seen that some mobile apps keep the password change section separate from the profile change screen (e.g. Instagram), but some just keep it inside 39; profile modification screen itself.

Personally, I'm used to looking for the settings icon every time I want to change my password, but since my app isn't really big and doesn't have much to put in the settings, i think i should just get rid of the settings and put the change password in the edit profile.

My application currently has this type of structure:

enter description of image here

My profile will have the option to edit the profile.

Blank login.microsoftonline.com password screen in Azure DevOps pipeline

When running end-to-end tests in an Azure pipeline (windows-2019), we need to connect to our application using the Azure AD connection https://login.microsoftonline.com / company-name / oauth2 / authorize-xxxyyyzzz.

We do this via WebDriver by filling in the email and password and then returning to our app.

There is a problem that has happened to us for months. Randomly, when we get to the password field screen, it is completely blank. This only happens from the agent machine.

This is completely blank and formless:
.

We have set the timeout up to one minute for the field to appear and nothing. Let's say it happens about 30% of the time.

What should we do?

authentication – Simple and universal way to password protect existing web services exposed to the Internet

There are many tools, devices, and programs that run an http server by default and expose a user interface on port 80. Even my coffee machine has a web user interface that it provides on port 80.

Now it is easy to make these existing web servers available via the Internet by simply doing port forwarding on the Internet facing NAT.

I want to do it, but I want to protect password access in a simple, generic and secure way.

The easiest way would be to NOT expose them and only access them via a VPN connection. Currently, I'm doing this – but I want to be able to access VPN-free services from anywhere on the web.

So let's say I have three http services in my Lan that I can access locally on

CoffeeMachine:80
MyLightSwitch:80
ToiletFlush:80

Now I want to be able to access it on the Internet by going to

http://mystaticIP/coffeemachine
http://mystaticIP/lightswitch
http://mystaticIP/toilet

But for each of them, I want them to be accessible ONLY after some form of user password authentication.

I do not need individual users / passwords for the different servers. Maybe all the same.

What is a simple but secure way to expose these three services to the Internet, without having to alter the http servers on these devices themselves? (By secure, I mean that without knowing the password, this will not create a trivial security breach. I don't care about attacks from the middle man or so).

Tools I have to solve this problem:

  • Addition of an additional server running any Linux distribution / services on the local network
  • Define port forwarding on my NAT

plugins – Single password for WordPress

So, I'm talking to my employer and he wants a plugin that I couldn't find. either because it doesn't exist, or because I used the wrong search terms.

We need a plugin that generates keys like product keys or serial numbers, which it uses for its connection to the site. The keys should also have a limited activation lifespan as we are selling them for an online escape game.

Is it doable or are we on a wild goose hunt here?

How do I add a password reset link to the user page?

Is there a simple way to add a password reset button to the user page in drupal 8? For user management, I need the administrator to be able to send a password recovery link to users AFTER the creation of the user account. This button should only be visible to administrators.

encryption – SQL: decrypt password

INSERT INTO users_tbl (`fName`, `lName`, `email`, `password`) VALUES ('Nick', 'Furry', 'nick@example.com', PASSWORD('nick333'));

I used the PASSWORD () function provided by SQL to encrypt the password and the password field was encrypted but now I don't know how to decrypt it. I have not used these hashing methods. Can someone tell me how to decrypt it?