HomePhabricator

Fix handling of error messages from the 'SpecialPasswordResetOnSubmit' hook

Authored by Anomie on Jun 16 2016, 4:03 PM.

Description

Fix handling of error messages from the 'SpecialPasswordResetOnSubmit' hook

$error might be an array of key + values, but wfMessage() treats that as
an array of alternative message keys instead so the values are lost.
Message::newFromSpecifier(), on the other hand, does exactly what we
want.

Change-Id: I25765869f6888ac793c2af9caaa9bbdf2224d51a

Details

Committed
AnomieJun 16 2016, 4:03 PM
Parents
rMW3be057e44547: Merge "Fix typo in 'log-action-filter-suppress-block'"
Branches
Unknown
Tags
Unknown
ChangeId
I25765869f6888ac793c2af9caaa9bbdf2224d51a