Generate random password for one-time password verification

I had to generate random password for temporary entry/login purpose in C#. Now I need to only send 6 digits but no more characters, or special characters. New to the C# world. Hence, I am providing what I have so far. helper.cs public static string GenerateRandomPassword() { int numsLength = 6; const string nums =… Read More Generate random password for one-time password verification

Cannot destructure property …. as undefined

I have the following page : import React, { useState } from "react"; import { Card, Form, Button } from "react-bootstrap"; import { Link } from "react-router-dom"; import FormContainer from ‘../components/FormContainer’; import Message from ‘../components/Message’ import Loader from ‘../components/Loader/Loader’ import {useDispatch,useSelector} from ‘react-redux’ import { sentEmail } from "../actions/userActions"; const EmailPasswordReset = () => {… Read More Cannot destructure property …. as undefined