adding missing file, re: #2424
parent
deac12c540
commit
b06ff89e02
@ -0,0 +1,15 @@
|
|||||||
|
define('csrf', function() {
|
||||||
|
"use strict";
|
||||||
|
var csrf = {},
|
||||||
|
_data = {};
|
||||||
|
|
||||||
|
csrf.get = function() {
|
||||||
|
return _data.token;
|
||||||
|
}
|
||||||
|
|
||||||
|
csrf.set = function(token) {
|
||||||
|
_data.token = token;
|
||||||
|
};
|
||||||
|
|
||||||
|
return csrf;
|
||||||
|
});
|
Loading…
Reference in New Issue