mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: redesign the change password page to use javascript and validations
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import storePretender from 'helpers/store-pretender';
|
||||
import fixturePretender from 'helpers/fixture-pretender';
|
||||
|
||||
function parsePostData(query) {
|
||||
export function parsePostData(query) {
|
||||
const result = {};
|
||||
query.split("&").forEach(function(part) {
|
||||
const item = part.split("=");
|
||||
@@ -18,7 +18,7 @@ function parsePostData(query) {
|
||||
|
||||
});
|
||||
return result;
|
||||
}
|
||||
};
|
||||
|
||||
function response(code, obj) {
|
||||
if (typeof code === "object") {
|
||||
|
||||
Reference in New Issue
Block a user