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
            }));
        }
示例#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
            }));
        }