public async Task <ActionResult> KodDogrula(string saglayici, string returnUrl, bool hatirlaBeni)
        {
            if (!await OturumAcmaYoneticisi.HasBeenVerifiedAsync())
            {
                return(View("Hata"));
            }

            return(View(new KoduDogrulaViewModel {
                Saglayici = saglayici, ReturnUrl = returnUrl, HatirlaBeni = hatirlaBeni
            }));
        }
Esempio n. 2
0
        public async Task <ActionResult> KodDogrula(string saglayici, string returnUrl, bool hatirlaBeni)
        {
            // Require that the user has already logged in via username/password or external login
            if (!await OturumAcmaYoneticisi.HasBeenVerifiedAsync())
            {
                return(View("Hata"));
            }

            return(View(new KoduDogrulaViewModel {
                Saglayici = saglayici, ReturnUrl = returnUrl, HatirlaBeni = hatirlaBeni
            }));
        }