From be5b7444700f902bc148a4137bd12ae9d51f27d2 Mon Sep 17 00:00:00 2001 From: Marco Date: Sun, 25 Mar 2018 05:11:45 +0200 Subject: [PATCH] Explain new return values of 'confirmEmail' (etc.) in migration guide --- Migration.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Migration.md b/Migration.md index 30a672e..5e8ca21 100644 --- a/Migration.md +++ b/Migration.md @@ -40,6 +40,8 @@ Update your version of this library using Composer and its `composer update` or * The method `logOutAndDestroySession` has been removed from class `Auth`. Instead, call the two separate methods `logOut` and `destroySession` from class `Auth` one after another for the same effect. + * If you have been using the return values of the methods `confirmEmail` or `confirmEmailAndSignIn` from class `Auth`, these return values have changed. Instead of only returning the new email address (which has just been verified), both methods now return an array with the old email address (if any) at index zero and the new email address (which has just been verified) at index one. + ## From `v6.x.x` to `v7.x.x` * The method `logOutButKeepSession` from class `Auth` is now simply called `logOut`. Therefore, the former method `logout` is now called `logOutAndDestroySession`.